Lumiere\Tools\Ban_Bots S

Total Complexity 18
Dependencies 0
Dependents 0
Total lines 147
Lines of code 65
Logical lines of code 27
Comment lines 37
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_user_ip()
S
61 5 11
maybe_ban_useragent()
S
65 3 8
maybe_ban_ip()
S
67 3 8
maybe_ban_noreferrer()
S
72 3 5
ban_bot_now()
S
56 1 20
__construct()
S
70 1 6
lumiere_static_start()
S
80 1 3
maybe_ban_bots_general()
S
77 1 4